<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath %>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加菜品</title>
</head>
<body>
<form action="menu/addmenu.do"  method="post" enctype="multipart/form-data">
<h1 align="center">菜品添加</h1>
<table align="center">
     <tr><td>菜品类别：</td><td><select name="MenuClassid">
	        <option value="1" selected="selected">饮品</option>
			<option value="2">中餐</option>
			<option value="3">西餐</option>
	         </select></td></tr>
	<tr><td>菜品名称：</td><td><input type="text" name="DishName"/></td></tr>	
	<tr><td>菜品价格：</td><td><input type="text" name="DishPrice"/>元/份</td></tr>        
	<tr><td>菜品图片：</td><td><input type="file" name="DishPicture"/></td></tr>
	<tr><td>菜品描述：</td><td><textArea  name="dishDescribe"></textArea></td></tr>
	<tr><td colspan="2"><input type="submit" value="保存"/></td>
	<td colspan="2"><input type="button" value="取消" onclick="rback()"/></td></tr>
</table>
</form>
<script type="text/javascript">
function rback(){
	var cf=confirm("确定取消添加？");
	if(cf){window.location.href="menu/manmenu.do" }
}
</script>
</body>
</html>